home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / comm / net / amifsp.lha / faq.aug.1993 < prev    next >
Internet Message Format  |  1994-03-15  |  19KB

  1. From alt.comp.fsp Sun Oct 31 12:54:07 1993
  2. Newsgroups: alt.comp.fsp
  3. From: pi92ae@pappa.pt.hk-r.se (Andy)
  4. Subject: FAQ IS HERE!!! was Re: How do you connect to an FSP?
  5. Organization: Dept. of Comp. Sci. Soft Center, Ronneby
  6. Date: Sun, 31 Oct 1993 09:29:28 GMT
  7. Lines: 541
  8.  
  9. OK here comes a not so up to date FAQ... But it is seemed to be
  10. needed.
  11.  
  12. Archive-name: fsp-faq
  13. Last-modified: 19th August 1993
  14.            ^^^^^^^^^^^^^^^^^
  15. Frequently Asked Questions about FSP
  16. ------------------------------------
  17.  
  18. *** Please read this before posting to alt.comp.fsp. ***
  19.  
  20. ##########################################################################
  21. ### IMPORTANT NOTICE: EVERYONE PLEASE READ THIS!
  22. ###
  23. ### Joseph Traub is no longer the FSP maintainer, and the site he
  24. ### maintained at seismo.soar.cs.cmu.edu no longer runs an FSP daemon.
  25. ### Please do NOT mail anyone at CMU about the FSP server -- the admins
  26. ### there have complained about the volume of unwanted mail.
  27. ###
  28. ### If you have questions about FSP, please mail one of the new
  29. ### maintainers -- see below for details.
  30. ##########################################################################
  31.  
  32. This is the answers to some of the frequently asked questions about FSP.
  33. It is posted weekly to alt.comp.fsp, alt.answers and news.answers.
  34.  
  35. This article answers the following questions.
  36.  
  37. Section 1: Introduction and Help
  38.     Q1.1 What's alt.comp.fsp?  What's FSP?
  39.     Q1.2 Where can I get FSP?
  40.     Q1.3 Help!  I don't understand how to use FSP!
  41.     Q1.4 What are those funny "R" and "I" characters?
  42.     Q1.5 Why should I, as a site admin, run an FSP daemon?
  43.  
  44. Section 2: FSP software and resources
  45.     Q2.1 Where can I get an FTP-like interface for FSP?
  46.     Q2.2 Where can I get a graphical interface for FSP?
  47.     Q2.3 Where can I get hold of a list of sites?
  48.     Q2.4 Where can I get hold of hundreds of pictures of naked women
  49.          in compromising positions?
  50.  
  51. Section 3: Technical Issues
  52.     Q3.1 What are the main differences between FSP and FTP?  How
  53.          does FSP work?
  54.     Q3.2 How secure/anonymous is FSP?
  55.     Q3.3 Why not add passwords to FSP?
  56.     Q3.4 So what *does* FSP stand for?
  57.  
  58. Section 4: Who's who in FSP?
  59.     Q4.1 Who wrote FSP?
  60.     Q4.2 Who helped put this FAQ together?
  61.  
  62.  
  63. This FAQ is written and maintained by Pete Bevin (pete@sst.icl.co.uk)
  64. with help from Phil Richards (pgr@sst.icl.co.uk).
  65.  
  66. If you have any comments, suggestion, or additions, send me (Pete) some mail.
  67.  
  68.  
  69. Section 1: Introduction and Help
  70.  
  71. Q1.1: What's alt.comp.fsp?  What's fsp?
  72.  
  73.     Alt.comp.fsp is a Usenet newsgroup for discussing the FSP file
  74.     transmission protocol.    It was created on Tuesday 4th May 1993
  75.     by Wen-King Su (wen-king@cs.caltech.edu) after there was no
  76.     objection on alt.config.  Before the newsgroup, there was a
  77.     mailing list (fsp-discussion) for talking about FSP software
  78.     internals.  This newsgroup is for discussion of both writing and
  79.     using the software.
  80.  
  81.     FSP is a protocol, a bit like FTP (but see below), for moving
  82.     files around.  It's designed for anonymous archives, and has
  83.     protection against server and network overloading.  It doesn't
  84.     use connections, so it can survive things falling over.
  85.  
  86.     Quote: `FSP is what anonymous FTP *should* be'.
  87.  
  88.  
  89. Q1.2: Where can I get FSP from?
  90.  
  91.     The `official' place for FSP distributions is ftp.germany.eu.net
  92.     (192.76.144.75), in the directory /pub/network/inet/fsp.  It is
  93.     available both by FTP and FSP: the FSP server is on port 2001.
  94.     Another official site is taxus.uib.no (129.177.30.10), which
  95.     only runs an FSP server -- it's on port 9000.  The directory
  96.     on taxus is /fspdist.
  97.  
  98.     (Note: If you're using Unix, and you don't want to set up a
  99.     server, you might want to get one of the FTP-like clients
  100.     instead -- fspclient, fspcli, or fspsh -- from the same place).
  101.  
  102.     The latest versions are:
  103.  
  104.         Unix, VMS:    fsp.271.tar.Z
  105.         OS/2:        fsp2-03b.zip
  106.         MS-DOS:     pcfsp104.zip
  107.  
  108.     The Unix version is the `original', and was originally written
  109.     by Wen-King Su: Joseph Traub took over for a while, and Phil
  110.     Richards and Pete Bevin maintain it now.  The same distribution
  111.     contains patches by Sven Pechler to make it run on VMS.  Larkin
  112.     Lowrey wrote the OS/2 version, and Lindsey Smith wrote the MS-DOS
  113.     version.  Email addresses are at the end.
  114.  
  115.  
  116. Q1.3: Help!  I don't understand how to use FSP!
  117.  
  118.     If you're already familiar with FTP, you might want to use one
  119.     of the FTP-like clients instead, or even a graphical interface.
  120.     See the answers to questions 2.1 and 2.2 below for details of
  121.     how to get them.
  122.  
  123.     The following tutorial is adapted from an article in
  124.     alt.comp.fsp by David DeSimone <fox@netcom.com>.
  125.  
  126.     The original FSP seems to have been designed for use with csh
  127.     aliases, so if you use csh, try these aliases in your .cshrc:
  128.  
  129.     # FSP aliases:
  130.     alias fcat   '(set noglob; exec fcatcmd \!*)'
  131.     alias fcd    'setenv FSP_DIR `(set noglob; exec fcdcmd \!*)`'
  132.     alias fget   '(set noglob; exec fgetcmd \!*)'
  133.     alias fgrab  '(set noglob; exec fgrabcmd \!*)'
  134.     alias fls    '(set noglob; exec flscmd -F \!*)'
  135.     alias fll    '(set noglob; exec flscmd -l \!*)'
  136.     alias fpro   '(set noglob; exec fprocmd \!*)'
  137.     alias fpwd   'echo "$FSP_HOST ($FSP_PORT): $FSP_DIR"'
  138.     alias frm    '(set noglob; exec frmcmd \!*)'
  139.     alias frmdir '(set noglob; exec frmdircmd \!*)'
  140.     alias fhost  'set fsp_host=(\!*); source ~/bin/fhost; unset fsp_host'
  141.  
  142.     The last alias, "fhost", is my own invention, and the ~/bin/fhost
  143.     file looks like this:
  144.  
  145.     #!/bin/csh
  146.     #
  147.     # Since this script sets environment variables, it really needs
  148.     # to be source'd rather than executed.  Thus the following alias
  149.     # should be used:
  150.     #
  151.     # alias fhost 'set fsp_host=(\!*); source ~/.bin/fhost; unset fsp_host'
  152.     #
  153.  
  154.     if ( $#fsp_host > 0 ) then
  155.  
  156.         setenv FSP_HOST $fsp_host[1]
  157.  
  158.         if ( $#fsp_host > 1 ) then
  159.         setenv FSP_PORT $fsp_host[2]
  160.         else
  161.         setenv FSP_PORT 21
  162.         endif
  163.  
  164.         if ( $#fsp_host > 2 ) then
  165.         setenv FSP_DIR $fsp_host[3]
  166.         else
  167.         setenv FSP_DIR /
  168.         endif
  169.  
  170.     endif
  171.  
  172.     if ( $?FSP_HOST ) then
  173.         echo "$FSP_HOST ($FSP_PORT): $FSP_DIR"
  174.     endif
  175.  
  176.     This alias lets you "connect" to a host quickly and easily.  For
  177.     instance, to start out I give the following command:
  178.  
  179.     % fhost wuarchive.wustl.edu
  180.     wuarchive.wustl.edu (21): /
  181.  
  182.     The "fhost" command tells me where I'm connected, on what port,
  183.     and in what directory.
  184.  
  185.     Since all "fhost" does is set up some environemnt variables, we
  186.     aren't REALLY connected.  To find out if the site is responding,
  187.     just do a quick "fls":
  188.  
  189.     % fls
  190.     README        etc/        mirrors2/    pub/
  191.     README.NFS    graphics/    mirrors3/    systems/
  192.     bin/        info/        mirrors4/    techreports/
  193.     decus/        languages/    multimedia/    usenet/
  194.     doc/        lost+found/    packages/    vendorware/
  195.     edu/        mirrors/    private/
  196.  
  197.     Looks like we're up and running!  Navigating with FSP is now
  198.     just like using the local filesystem, except the commands have
  199.     "f" in front of them.  For instance:
  200.  
  201.     % fcd /systems/amiga/incoming
  202.     directory mode: (owner: some other machine)(delete: NO)(create: NO)
  203.     % fls
  204.     AT3D-Demo.bad        devel/            utils/
  205.     AT3D-Demo.readme    fish/            wb30/
  206.     AT3D.lha        games/            z_newfiles_Jul01
  207.     Amiga.help        gfx/            z_newfiles_Jul02
  208.     DAKDUNGN.LZH        hardware/        z_newfiles_Jul03
  209.     DAKDUNGN.README     imagine/        z_newfiles_Jul04
  210.     DP_Desc_June.run    ls-lR.incoming        z_newfiles_Jun25
  211.         README.UPLOADER     ls-lR.incoming.Z    z_newfiles_Jun26
  212.         TREE            misc/            z_newfiles_Jun27
  213.         archive/        mods/            z_newfiles_Jun28
  214.     audio/            news/            z_newfiles_Jun29
  215.     cam_list.zoo        patch/            z_newfiles_Jun30
  216.     comm/            programming/
  217.     demos/            text/
  218.  
  219.     Other nice commands like "fcat filename" let me see what's out
  220.     there, or for larger files, "fcat filename | less" is very
  221.     effective.
  222.  
  223.     Once I see a nice file that I want copied to my local system, I
  224.     just give the "fget filename" command and away it goes.  Usually
  225.     I type "fget filename &" which throws the transfer request into
  226.     the background.  Then I can immediately go off and "fcd" to some
  227.     other directory and look for more files to grab, "fcat"-ing the
  228.     README files and such.
  229.  
  230.  
  231. Q1.4 What are those funny "R" and "I" characters?
  232.  
  233.     When FSP doesn't get any response from the server, it keeps on
  234.     sending requests.  The first time it retries, it prints an "R",
  235.     (meaning "Retry"), and the second, third, and subsequent times,
  236.     it prints an "I".  You might also see an "E", which means "error":
  237.     FSP got a packet, but it was corrupted for some reason.
  238.  
  239.     Fspclient does it slightly differently: it starts by printing
  240.     "r" and "R" characters, and then uses "-\|/" characters to draw
  241.     a spinning bar.  As Phil Richards (the author) says, `I quite
  242.     often see spinning bars, but usually only after the fifth pint'.
  243.  
  244.  
  245. Q1.5 Why should I, as a site admin, run an FSP daemon?
  246.  
  247.     Because it's one more way people can access your site, and it
  248.     won't cost you much extra load on the machine.  The FSP daemon
  249.     never forks, so it won't increase your load average by more than
  250.     one.  FSP doesn't add much to the network load either, and you
  251.     can limit the amount of data the daemon will send out (eg, to
  252.     2.5k/sec).
  253.  
  254.     FSP allows comprehensive logging, running off inetd, README
  255.     files per directory, banning on per-host or per-network basis,
  256.     reverse naming and read-only sites.  The only thing anonymous
  257.     FTP gives that FSP doesn't is having the user type in an email
  258.     address, and of course, this can easily be faked.  FSP logs give
  259.     the user's hostname, which is harder to fake.
  260.  
  261. -----------------------------------------------------------------------------
  262.  
  263.  
  264. Section 2: FSP software and resources
  265.  
  266. Q2.1 Where can I get an FTP-like interface for FSP?
  267.  
  268.     The interface I use is Phil Richards' (pgr@sst.icl.co.uk)
  269.     fspclient.  The latest version (still pre-alpha, but more
  270.     reliable than your average beta release) is fspclient.0.0-h.
  271.     You can get it by FTP from ftp.robots.ox.ac.uk as
  272.     /pub/ox.src/fspclient.0.0-h+.tar.Z .
  273.  
  274.     Another interface to use is Nicolai Langfeldt's 'fspcli'.  It
  275.     has a ftp like interface and more.  It is in the release
  276.     directory on ftp.germany, and it has also been posted on
  277.     alt.sources.  Another nice thing about it is that it's a
  278.     small(ish) perl script rather than a large compiled executable,
  279.     and it's not alpha OR beta.  Presently the latest version is 1.2
  280.  
  281.     Ove Ruben R Olsen (Ruben@uib.no) has written a client quite
  282.     similar to Nicolai's, but even smaller.  It is available in
  283.     the fspsh directory on taxus.uib.no/9000 (see below).
  284.  
  285.     Note that if you want to use either of the last two clients,
  286.     you'll have to have the Perl language installed.  You can get
  287.     the latest version by FTP from prep.ai.mit.edu in
  288.     /pub/gnu/perl*, or by FSP from wuarchive (see below) in
  289.     /mirrors/gnu/perl*.
  290.  
  291.  
  292. Q2.2 Where can I get a graphical interface for FSP?
  293.  
  294.     Andy Doherty <ssudoher@reading.ac.uk> has written an xview
  295.     client for the X Window System.  It is available from
  296.     ftp.germany as `fsptool-1.3.tar.Z'.  Like fspcli and fspshell,
  297.     it acts as an interface to the standard FSP shell commands,
  298.     rather than rewriting them itself.
  299.  
  300.     Note that to use this package, you will need the xview libraries:
  301.     if you're using a Sun workstation, you're OK: otherwise, you may
  302.     have to get and compile them yourself.
  303.  
  304.     If you're an OS/2 user, you can use the OS/2 client by Albert
  305.     Crosby <acrosby@uafhp.uark.edu>.  It wraps around the OS/2 FSP
  306.     software (see above), and also requires RexxMenu and RxU.  It
  307.     can read a list of files in the standard FSP host listing
  308.     format, and uses RexxMenu's point-and-click interface.
  309.  
  310.  
  311. Q2.3 Where can I get hold of a list of sites?
  312.  
  313.     There is a list, maintained by <archive-admin@Germany.EU.net>,
  314.     which you can get hold of by fsp from ftp.Germany.EU.net (port
  315.     2001):/pub/lists/fsp-servers.  Various other people produce
  316.     lists as well: have a look around!
  317.  
  318.     You are encouraged to post site information to alt.comp.fsp, and
  319.     if you post in the format below, most people will be able to
  320.     slurp your list straight into their front-end programs.  There's
  321.     an unofficial standard for the format, which you can find on taxus
  322.     in the file "fsplist.std".
  323.  
  324.     In the meantime, here's a list to get you going.
  325.  
  326.     128.52.46.11      21   alpha   / # GNU Alpha releases
  327.     158.125.220.8      21   genie   / # small UK site
  328.     192.76.144.75      2001 germany / # big German archive
  329.     fsp.luth.se      6969 luth    / # Top of Europe
  330.     131.215.131.148   21   mosaic  / # BSD386/Usenet
  331.     134.109.132.2      21   pyrrhus / # OS2, linux, simtel, etc.
  332.     146.169.2.1      21   src     / # big UK site
  333.     129.177.30.10      9000 taxus   / # fspadm, fsp-shell tools
  334.     131.155.140.128   21   terra   / # big Netherlands site
  335.     18.172.1.2      21   tsx     / # linux
  336.     fsp.warwick.ac.uk 21   warwick / # Computer Underground Digest
  337.     128.252.135.4      21   wu      / # everything you ever wanted
  338.  
  339.  
  340. Q2.4 Where can I get hold of hundreds of pictures of naked women in
  341.      compromising positions?
  342.  
  343.     Don't ask me, I only edit the FAQ :-)
  344.  
  345.     Seriously, FSP has a reputation of being for "crooks and
  346.     perverts".  If you know any good sites carrying illegal
  347.     material, then do them a favour and keep them to yourself.
  348.     Posting them won't make you any friends.
  349.  
  350.     If someone posts a list of sites, and you didn't want them to,
  351.     please don't publicly flame them.  It doesn't endear you to
  352.     anyone.  If you must put them right, send email.  Thank you.
  353.  
  354. ---------------------------------------------------------------------------
  355.  
  356.  
  357. Section 3: Technical Issues
  358.  
  359. Q3.1 What are the main differences between FSP and FTP?  How does FSP work?
  360.  
  361.     From the user's point of view, the differences are not that
  362.     great, except that some of the more annoying features of FTP
  363.     are gone.  Here are the main differences.
  364.  
  365.         a. The protocol can stand things going down: if the
  366.         server or the network falls over in the middle of a
  367.         transfer, you can just wait until it comes back up.
  368.         You don't have to reconnect, and even better, if the
  369.         server went down 90% through grabbing a file, you can
  370.         continue from where you left off.
  371.  
  372.         b. The protocol doesn't need a username or password.
  373.         You just throw packets at the server.  You don't have
  374.         to identify yourself (though you're not completely
  375.         anonymous -- see below).
  376.  
  377.         c. It's harder to kill off a site with an FSP server
  378.         than with an FTP server.  The FSP daemon is designed to
  379.         be as lightweight as possible:    it doesn't fork off any
  380.         sub-processes, and it takes steps to limit the amount
  381.         of traffic it handles.
  382.  
  383.         d. The user interface is completely different.    The
  384.         interface that comes with the package consists of
  385.         eleven commands that you can call from the shell.  In
  386.         effect, your shell is providing all the nice functions
  387.         like command line editing.  This makes the interface
  388.         much more versatile than FTP's.  (See below for how to
  389.         get an FTP-like interface, though).
  390.  
  391.         e. FSP is a bit slower than FTP.  This is a feature,
  392.         not a bug.  The point is to keep the communication
  393.         lightweight, and not to flood the net.
  394.  
  395.     From the programmer's point of view, fsp is a complete rewrite.
  396.  
  397.         a. Instead of TCP sockets, it uses datagrams to
  398.         communicate, so that the connection doesn't break on a
  399.         flaky line.
  400.  
  401.         b. FTP works by opening a port, and then asking the
  402.         server to send a file to it.  FSP uses the same port
  403.         all the time for communication, and asks for segments
  404.         of a file.  So you can start off a transfer half way
  405.         through a file, if you really want to.
  406.  
  407.         c. The server tries to make sure you don't ask for
  408.         packets too quickly.  Each packet it sends out has a
  409.         random identification number, which the client must
  410.         return on the next request.  (If the client loses the
  411.         number, it must wait a few seconds before the server
  412.         accepts another packet from it).  Therefore, the client
  413.         has to wait for an answer to each request before it
  414.         sends out the next one.
  415.  
  416.  
  417. Q3.2 How secure/anonymous is FSP?
  418.  
  419.     By default, the FSP daemon keeps logs of transactions, along
  420.     with their site names.    An FSP administrator could use this to
  421.     find out who you are, with a reasonable degree of certainty.
  422.  
  423.     In short, FSP gives you no more privacy than anonymous FTP.
  424.     Anyone who tells you different has a less devious mind than most
  425.     FSP admins I know.
  426.  
  427.     Why not make FSP more anonymous?  Well, it's impossible to make
  428.     a protocol with complete anonymity, since at some point, the
  429.     remote site will have to send a file back to you, and it needs
  430.     at least an address to send it to.
  431.  
  432.     If you really need privacy, you can encrypt any files you make
  433.     available, and only give out the decryption password to a select
  434.     few.  But of course, you have to trust them to keep the password
  435.     safe.
  436.  
  437.  
  438. Q3.3 Why not add passwords to FSP?
  439.  
  440.     (Thanks to Joseph Traub for the material for this section)
  441.  
  442.     1. They don't add much security.  If you use one password for
  443.        the whole site, then you might just as well set up the site
  444.        and only tell a few people its port number.    That's no more
  445.        or less secure than using a password.  Besides, it's easier
  446.        just to set up the server only to respond to certain hosts.
  447.  
  448.     2. Any other password system is likely to be a big lose on
  449.        efficiency, since you'll have to check every single packet.
  450.  
  451.     3. The main use of server passwords appears to be so that people
  452.        can move pirated software around, and the authors don't want
  453.        to add code to support that.
  454.  
  455.     To quote Joseph Traub, the ex-FSP maintainer:
  456.  
  457.         If you really want to do passworded file transfer, grab
  458.         a copy of the ftpd source code (which is also on my
  459.         server) and modify it to a) use a higher port number
  460.         (Yes virginia, you CAN specify port numbers to most ftp
  461.         clients) and b) to read a file other than /etc/password
  462.         to look up user information.
  463.  
  464.         This capability does NOT belong in FSP because it gets
  465.         away from the concept of lightweight simple file
  466.         transfers.
  467.  
  468.     And to quote Phil Richards, one of the current FSP maintainers:
  469.  
  470.         I agree.
  471.  
  472.     Just for added emphasis, the other FSP maintainer adds:
  473.  
  474.         Me too :-)
  475.  
  476.  
  477. Q3.4 So what *does* FSP stand for?
  478.  
  479.     As of 12th August 1993, FSP stands for `File Service Protocol'.
  480.     Thanks to mg@ac.duke.edu (Michael Grubb) for the words, and
  481.     Wen-King for the initials.
  482.  
  483.     Other suggestions were:
  484.  
  485.         File Slurping Protocol
  486.         Flaky Stream Protocol
  487.         FTP's Sexier Partner
  488.  
  489.  
  490. ---------------------------------------------------------------------------
  491.  
  492.  
  493. Section 4: Who's Who?
  494.  
  495. Q4.1: Who writes and maintains FSP software?
  496.  
  497.     Wen-King Su (wen-king@cs.caltech.edu) wrote the original Unix
  498.     version (versions 1.0 to 2.6.4).
  499.  
  500.     Joseph Traub (was jtraub@cs.cmu.edu) was maintainer from Dec
  501.     1992 to July 1993 (versions 2.6.5 to 2.7.1).
  502.  
  503.     The current maintainers are Phil Richards (pgr@sst.icl.co.uk)
  504.     and Pete Bevin (pete@sst.icl.co.uk).  Phil is also the maintainer
  505.     of fspclient, an FTP-like interface for FSP.
  506.  
  507.     Sven Pechler (S.A.Pechler@bdk.tue.nl) wrote and maintains a VMS
  508.     version.  OS/2 is handled by Larkin Lowrey (llowrey@ucsd.edu),
  509.     and Lindsey Smith, of the MS-DOS rewrite is SMITH@fgs200.fgs.com.
  510.  
  511.  
  512. Q4.2 Who helped put this FAQ together?
  513.  
  514.  
  515.     The following people have contributed to the FAQ.  Thanks very
  516.     much to all of them.
  517.  
  518.         Pete Bevin <pete@sst.icl.co.uk>
  519.         Tony Brannigan <tbrann@ox.ac.uk>
  520.         Maurizio Codogno <mau@beatles.cselt.stet.it>
  521.         David DeSimone <fox@netcom.com>
  522.         Ian Dickinson <vato@violet.csv.warwick.ac.uk>
  523.         Andy Doherty <ssudoher@reading.ac.uk>
  524.         Jan Nicolai Langfeldt <janl@ifi.uio.no>
  525.         Ove Ruben R Olsen <Ruben@uib.no>
  526.         Lutz Prechelt <prechelt@ira.uka.de>
  527.         Phil Richards <pgr@sst.icl.co.uk>
  528.         Lindsey Smith <SMITH@fgs200.fgs.com>
  529.         Wen-King Su <wen-king@cs.caltech.edu>
  530.         Joseph Traub <jtraub@cs.cmu.edu>
  531.  
  532.